package com.chapter.sample.factory;

import com.chapter.sample.dao.UserDao;
import com.chapter.sample.dao.impl.UserDaoImpl;

public class MyBeanFactory2 {

    public UserDao userDao(String userName) {
        System.out.println("MyBeanFactory1.userDao userName:" + userName);
        return new UserDaoImpl();
    }
}
